package com.study.design.model.behaviorPattern.strategy;

import org.junit.Test;

/**
* @Name: Client
* @Description: 策略模式测试类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-15 下午8:18:33 
* @Version: V1.0
 */
public class Client {
	
	@Test
	public void strategy() {
		Strategy strategy = new OldFewCustomerStrategy() ;
		Context context = new Context(strategy) ;
		context.quotedPrice(889L) ;
	}

}
